300559d96a6212ebc610a26a4881635b3511e1b2,VUE2/src/tufts/vue/LayoutAction.java,LayoutAction,act,#LWSelection#boolean#,74
Before Change
try {
layout.layout(selection);
if (autoFit)
Actions.ZoomFit.act();
} catch(Throwable t) {
Log.debug("LayoutAction.act: "+t.getMessage());
tufts.Util.printStackTrace(t);
After Change
try {
layout.layout(selection);
if (DEBUG.Enabled)Log.debug("autoFit: "+autoFit+" s.size "+selection.size()+" map.size:"+VUE.getActiveMap().getAllDescendents(LWContainer.ChildKind.PROPER).size());
if (autoFit || (selection.size() == VUE.getActiveMap().getAllDescendents(LWContainer.ChildKind.PROPER).size())) {
Actions.ZoomFit.act();
}
} catch(Throwable t) {
Log.debug("LayoutAction.act: "+t.getMessage());